﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
using LX.Web.Excel;

namespace S4Store.Domain.AfterSaleKpi
{
    public class AfterSaleCarTypeDayInput
    {
        /// <summary>
        /// 自增ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 是否确认
        /// </summary>
        public bool IsConfirmed { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get; set; }

        /// <summary>
        /// 车品牌
        /// </summary>
        [Import("车型",typeof(CarBrand))]
        public int CarBrandId { get; set; }

        /// <summary>
        /// 店
        /// </summary>
        public int StoreId { get; set; }

        /// <summary>
        /// 事故入厂台次
        /// </summary>
        [Import("事故入厂台次")]
        public int SGRCTC_AccidentCarToFactory { get; set; }


        /// <summary>
        /// 维修入厂台次
        /// </summary>
        [Import("维修入厂台次")]
        public int WXRCTC_MaintainCarToFactory { get; set; }


        /// <summary>
        /// 5K保养数
        /// </summary>
        [Import("5K保养数")]
        public int WKBYS_Maintain5KNum { get; set; }

        /// <summary>
        /// 10K保养数
        /// </summary>
        [Import("10K保养数")]
        public int SQBYS_Maintain10KNum { get; set; }

        /// <summary>
        /// 5K保养产值
        /// </summary>
        [Import("5K保养实际产值")]
        public decimal WQBYCZ_Maintain5KValue { get; set; }

        /// <summary>
        /// 10K保养产值
        /// </summary>
        [Import("10K保养实际产值")]
        public decimal SQBYCZ_Maintain10KValue { get; set; }


        /// <summary>
        /// 其他维修产值
        /// </summary>
        [Import("其他常态维修产值")]
        public decimal QTWXCZ_MaintainOtherValue { get; set; }


        /// <summary>
        /// 事故车产值 
        /// </summary>
        [Import("事故车产值")]
        public decimal SGCCZ_AccidentCarValue { get; set; }


        /// <summary>
        /// 精品销售额
        /// </summary>
        [Import("用品销售额")]
        public decimal JPXSE_BestSaleValue { get; set; }

        /// <summary>
        /// 养护产品销售额
        /// </summary>
        [Import("养护产品销售额")]
        public decimal YHCPXSE_MaintenanceSaleValue { get; set; }

        /// <summary>
        /// 首次续保
        /// </summary>
        [Import("首次续保台次")]
        public int SCXB_FirstRenewNum { get; set; }


        /// <summary>
        /// 二次续保
        /// </summary>
        [Import("二次续保台次")]
        public int ECXB_SecondRenewNum { get; set; }

        public virtual CarBrand CarBrand { get; set; }
        public virtual Store Store { get; set; }

        public void SetDate(DateTime date)
        {
            this.AddTime = date;
            
        }

    }
}
